home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _4D2542BBE1724286B879622D46C8FCEF < prev    next >
Encoding:
Text File  |  2004-01-06  |  3.5 KB  |  103 lines

  1. Script:LoadScript("scripts/materials/commoneffects.lua");
  2. Materials["mat_glass_d"] = {
  3.     type="mat_glass_d",
  4. -------------------------------------    
  5.     PhysicsSounds=PhysicsSoundsTable.Hard,
  6. -------------------------------------
  7.     bullet_hit = {
  8.         sounds = {
  9.             {"Sounds/Bullethits/bglass1.wav",SOUND_UNSCALABLE,200,5,60},
  10.             {"Sounds/Bullethits/bglass2.wav",SOUND_UNSCALABLE,200,5,60},
  11.             {"Sounds/Bullethits/bglass3.wav",SOUND_UNSCALABLE,200,5,60},
  12.             {"Sounds/Bullethits/bglass4.wav",SOUND_UNSCALABLE,200,5,60},
  13.             
  14.             
  15.         },
  16.         decal = { 
  17.             texture = System:LoadTexture("Textures/Decal/glass.dds"),
  18.             scale = 0.1,
  19.         },
  20.         particleEffects = {
  21.             name = "bullet.hit_glass.a",
  22.         },
  23.     },
  24.  
  25.     pancor_bullet_hit = {
  26.         sounds = {
  27.             {"Sounds/Bullethits/bglass1.wav",SOUND_UNSCALABLE,200,5,60},
  28.             {"Sounds/Bullethits/bglass2.wav",SOUND_UNSCALABLE,200,5,60},
  29.             {"Sounds/Bullethits/bglass3.wav",SOUND_UNSCALABLE,200,5,60},
  30.             {"Sounds/Bullethits/bglass4.wav",SOUND_UNSCALABLE,200,5,60},
  31.                 },
  32.         decal = { 
  33.             texture = System:LoadTexture("Textures/Decal/glass.dds"),
  34.             scale = 0.1,
  35.         },
  36.         particleEffects = {
  37.             name = "bullet.hit_glass.a",
  38.         },
  39.     },
  40.  
  41.     gameplay_physic = {
  42.         piercing_resistence = 0,
  43.         friction = 0.6,
  44.         bouncyness= 0.3, --default 0
  45.     },
  46.  
  47.     projectile_hit = CommonEffects.common_projectile_hit,
  48.     mortar_hit = CommonEffects.common_mortar_hit,
  49.     smokegrenade_hit = CommonEffects.common_smokegrenade_hit,
  50.     flashgrenade_hit = CommonEffects.common_flashgrenade_hit,
  51.     grenade_hit = CommonEffects.common_grenade_hit,
  52.  
  53.     melee_slash = {
  54.         sounds = {
  55.             {"sounds/player/footsteps/metal/step1.wav",SOUND_UNSCALABLE,185,5,30},
  56.             {"sounds/player/footsteps/metal/step2.wav",SOUND_UNSCALABLE,185,5,30},
  57.             {"sounds/player/footsteps/metal/step3.wav",SOUND_UNSCALABLE,185,5,30},
  58.             {"sounds/player/footsteps/metal/step4.wav",SOUND_UNSCALABLE,185,5,30},
  59.         },
  60.     },
  61.     player_walk = {
  62.         sounds = {
  63.             {"sounds/player/footsteps/sand_dry/step1.wav",SOUND_UNSCALABLE,140,10,60},
  64.             {"sounds/player/footsteps/sand_dry/step2.wav",SOUND_UNSCALABLE,140,10,60},
  65.             {"sounds/player/footsteps/sand_dry/step3.wav",SOUND_UNSCALABLE,140,10,60},
  66.             {"sounds/player/footsteps/sand_dry/step4.wav",SOUND_UNSCALABLE,140,10,60},
  67.         },
  68.     },
  69.     player_run = {
  70.         sounds = {
  71.             {"sounds/player/footsteps/sand_dry/step1.wav",SOUND_UNSCALABLE,200,10,60},
  72.             {"sounds/player/footsteps/sand_dry/step2.wav",SOUND_UNSCALABLE,200,10,60},
  73.             {"sounds/player/footsteps/sand_dry/step3.wav",SOUND_UNSCALABLE,200,10,60},
  74.             {"sounds/player/footsteps/sand_dry/step4.wav",SOUND_UNSCALABLE,200,10,60},
  75.         },
  76.     },
  77.     player_crouch = {
  78.         sounds = {
  79.             {"sounds/player/footsteps/sand_dry/step1.wav",SOUND_UNSCALABLE,120,10,60},
  80.             {"sounds/player/footsteps/sand_dry/step2.wav",SOUND_UNSCALABLE,120,10,60},
  81.             {"sounds/player/footsteps/sand_dry/step3.wav",SOUND_UNSCALABLE,120,10,60},
  82.             {"sounds/player/footsteps/sand_dry/step4.wav",SOUND_UNSCALABLE,120,10,60},
  83.         },
  84.     },
  85.     player_prone = {
  86.         sounds = {
  87.             {"sounds/player/footsteps/sand_dry/step1.wav",SOUND_UNSCALABLE,120,10,60},
  88.             {"sounds/player/footsteps/sand_dry/step2.wav",SOUND_UNSCALABLE,120,10,60},
  89.             {"sounds/player/footsteps/sand_dry/step3.wav",SOUND_UNSCALABLE,120,10,60},
  90.             {"sounds/player/footsteps/sand_dry/step4.wav",SOUND_UNSCALABLE,120,10,60},
  91.         },
  92.     },
  93.     player_walk_inwater = CommonEffects.player_walk_inwater,
  94.     AI = {
  95.         fImpactRadius = 8,
  96.     },
  97.     
  98.     object_impact = {
  99.         sounds = {
  100.             {"Sounds/ObjectImpact/metalhit.wav",SOUND_UNSCALABLE,100,4,100},
  101.         },
  102.     }
  103. }